package com.chenglu.android.mine.collect.mvp.contract;



import android.provider.Telephony;

import com.chenglu.android.bean.SmsCodeBean;
import com.chenglu.android.common.base.BaseView;
import com.chenglu.android.mine.bean.AmountTypeBean;
import com.chenglu.android.mine.bean.CollectBean;
import com.chenglu.android.mine.bean.MoneyBean;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;
import okhttp3.RequestBody;

/**
 * @author: lyj
 * @Created by Copyright 2023/7/27 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 *
 */
public interface CollectContract {

    /**
     *
     * @description model
     *
     */

    public interface CollectModel{

        Observable<CollectBean> getGoodsCollect(String token, Map<String, String> map);

        Observable<SmsCodeBean> getGoodsCollectRemove(String token, String goodsId);

        Observable<SmsCodeBean> getShopsCollectRemove(String token, String tenantId);



    }


    /**
     *
     * @description view
     *
     */

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void dismissLoading();

        @Override
        void onEmpty(Object tag);

        @Override
        void onError(String errMessage);


        void getGoodsCollect(CollectBean bean);

        void getGoodsCollectRemove(SmsCodeBean bean);

        void getShopsCollectRemove(SmsCodeBean bean);





    }

    /**
     *
     * @description presenter
     *
     */

    interface CollectPresenter {




        void getGoodsCollect(String token, Map<String, String> map);

        void getGoodsCollectRemove(String token, String goodsId);

        void getShopsCollectRemove(String token, String tenantId);




    }
}